|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |
Salina Simmons
|
Posted - 2009.03.15 23:37:00 -
[1]
At first, great job Amida Ta!
i have a question regarding the TransactionEntry list. How do i get the information about which wallet division or account key was used for a specific corporation transaction?
Thanks in advance.
|
Salina Simmons
|
Posted - 2009.10.20 21:43:00 -
[2]
Hi Amida,
great work again. I'm working with EvEAi since 6 months and everthing went well so far. Yesterday i discovered, that there is something wrong. More precisely in a few rare cases i have a problem with the api.GetCorporationWalletTransactions method. Here a short part of my code for a better explanation:
... foreach (CorporationAccount CAccount in CorpWalletlist) { .. api.Authentication.AccountKey = CAccount.Key; List<TransactionEntry> TEntryList = api.GetCorporationWalletTransactions(); .. foreach (TransactionEntry TEntry in TEntryList) { cmd.CommandText = "INSERT INTO ...+TEntry.TransactionID+..+CAccount.Key+CAccount.Description ... } .. }
As you can see, i "walk" through the different corporation accounts and fill the database with each transaction which was booked over the associated account. The point is now, that works in 99.9% of all cases, but unfortunately not in all cases. Over the last months i've collected a few thousand transactions and in a few rare cases i have a problem with the allocation of the wallet key and the wallet description. In this cases my database tells me, that these transactions are booked over the acount key 1003 (with the right description for the account 1003). But i'm sure, that i never did such orders ingame. I also checked that ingame and with other tools and the result is ever the same. These transactions are booked over the account 1004. I'm a little bit confused, because at the moment i have no explanation for that. Another interesting point is, i have a problem with these two fields (key and desription) only. Every other field like TransactionID, ClientID, Quantitiy, StationID and so on is correct.
Do you have an idea why that could happen? A few minutes ago i checked the version of the eveai.live.dll and i saw, that i still used the old version 1.1.4. I changed the reference to the new version 1.1.9. Could that be the reason? Is there anything known like that?
Regards, Salina
|
Salina Simmons
|
Posted - 2009.10.21 18:31:00 -
[3]
Here some aditional informations regarding this case. I spoke with my corpmates which are using my program too. Some have problems - which means they also have transaction entries with a wrong account key in the database - and some have not. For instance i have a transaction in my database with a wrong account key and may corpmates have the same transaction in their database, but with the correct account key.
I hope i did not make a mistake in my code, but i can't see anything that could lead to that problem.
|
Salina Simmons
|
Posted - 2009.10.21 19:05:00 -
[4]
I told you the wrong account key in my first post. The transactions in my databse with a wrong account key always have the account key which comes after the right one. Over 90% of our transactions were booked over the account key 1002. A transaction with a wrong account key always has the account key 1003.
|
Salina Simmons
|
Posted - 2009.10.21 20:24:00 -
[5]
Since 1.1.4 the simple api mode also supports multipart requests. That means if i have more than 1000 transactions in one week and i make a single simple api call, i get the complete list with all transactionsentries from one week (and the EvEApi do the "walking" in the background). Right?
|
Salina Simmons
|
Posted - 2009.10.25 14:39:00 -
[6]
The transaction with the wrong account key exists only for the 1003 account. I go through the accounts from 1000 up to 1006 and call the GetCorporationWalletTransactions method for each single account in exactly that order. Because of that (the TransactionID is my primary key in the database) i do not have any transactions in the database with the same TransactionID and different account keys. The point is, when i call the method and the account key is set to 1003 sometimes i get transactions which were booked ingame over the account 1002. But due to that fact that i have these entries in my database, i am sure i do not get these transactions when i call the method where the account key is set to 1002, which happened before i call the method where the account key is set to 1003.
|
Salina Simmons
|
Posted - 2009.10.26 11:44:00 -
[7]
Ok, thanks so far for your help. I will try that and i will give you a short report if it works.
|
Salina Simmons
|
Posted - 2009.11.12 11:54:00 -
[8]
Originally by: Cheesestick Charlie Hi Amida, or anyone else who can help.
First...thanks for making this. It makes using the the Eve API and markets MUCH easier!
Now I assume this is really easy, but I just started using EveAI and don't know how to do it. I'm trying to make a tree list of market items, like it is in the Eve market, seperated into categories so you can browse through it. Specifically, just a list of blueprints (I can figure that one out myself). However, I can't find how to seperate items up into the market categories....
You can use the EveAi.Core.dll to get the market categories:
1. Add a reference to the EveAi.Core.dll to your project
2. Add the following code and "play" with it :)
EveAI.DataCore core = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(core); reader.Read(EveAI.DataTypes.BasicMapData | EveAI.DataTypes.Products); EveAI.Product.ProductType Producttype = new EveAI.Product.ProductType(); Producttype = reader.Core.FindProductType(ProducttypeID);
string Product_GroupName = Producttype.MarketGroup.Name; string Product_Parentgroup = Producttype.MarketGroup.ParentGroup.Name;
I hope that is, what you are looking for.
|
Salina Simmons
Scrap Metall Industries
|
Posted - 2010.08.22 13:20:00 -
[9]
Hi Amida,
is it possible to get the content of a special assembly array from a starbase or with other words is it possible to get the real name of an assembly array (e.g. "MyArray_01") and allocate that name to an appropriate result from the CorpAssets Api?
My plan is to write a production calculator and I need to know which materials are allready in a specific assembly array. Do you consider the different divisions in the results?
Thanks.
|
Salina Simmons
Scrap Metall Industries
|
Posted - 2010.08.24 16:54:00 -
[10]
Can anyone confirm, that it is not possible to get the player choosen name of an item (ship, container, pos-array, ...) by using the API? I am still thinking about the problem with the pos array name. Does anyone know how long the ItemID of a pos module or a container (e.g. huge secure container) stays the same? I know that the ship ID is changing after for example repacking a ship. But what about the ID of pos modules or containers?
Thanks.
|
|
|
|
|